module.exports = flip = fn => (...args) => fn(args.pop(), ...args);